package com.woniu.model.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("y_personal_class")
public class YPersonalClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "personal_class_id", type = IdType.AUTO)
    private Integer personalClassId;

    /**
     * 教练
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 分钟数（课程时长）
     */
    @TableField("minute")
    private Integer minute;

    /**
     * 0.已下架1.可预约
     */
    @TableField("personal_class_state")
    private Integer personalClassState;

    /**
     * 0-5
     */
    @TableField("score")
    private Double score;

    /**
     * 课程类型id
     */
    @TableField("class_type_id")
    private Integer classTypeId;


}
